import Vue from 'vue';
import Router from 'vue-router';
import Home from "@/components/home";
import Home2 from '@/components/home2';

Vue.use(Router);

export default new Router({
    routes: [
        {
            path:'/',
            name: '主页',
            component: Home
            
        },{
            path:'/home2',
            name:'Hello',
            component:Home2
        }
    ]
})